package com.sqx.modules.userGetPhoneRecord.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 用户购买记录表
 *
 * @author wuchang
 * @since 2023-07-05
 */
@Data
@TableName("user_get_phone_record")
public class UserGetPhoneRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录id
     */
    @TableId(value = "record_id", type = IdType.AUTO)
    @ApiModelProperty("记录id")
    private Integer recordId;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Long userId;

    /**
     * 招聘|求职信息id
     */
    @ApiModelProperty("招聘|求职信息id")
    private Long postPushId;

    /**
     * 使用积分数
     */
    @ApiModelProperty("使用积分数")
    private BigDecimal money;

    /**
     * 1招聘 2求职
     */
    @ApiModelProperty("1招聘 2求职")
    private Integer type;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}






